<?php
$this->Html->addCrumb('<i class="fa fa-home"></i> ' . Inflector::camelize('Início'), '/', array('escape' => false));
$this->Html->addCrumb(__('Shopping Cart'), '/shop/cart', array('escape' => false));
$this->Html->addCrumb(__('Address'), NULL, array('escape' => false));

echo $this->set('title_for_layout', __('Address'));
?>
<div class="col-xs-12 fundo_branco">

    <?php echo $this->Html->script('/js/shop_address.js', array('block' => 'script')); ?>

    <?php echo $this->Form->create('Order'); ?>

    <div class="row">
        <div class="col-xs-12 col-md-4">

            <?php echo $this->Form->input('Client.first_name', array('label' => __('first_name'), 'class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.last_name', array('label' => __('last_name'), 'class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.email', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.phone', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>

        </div>
        <div class="col-xs-12 col-md-4">

            <?php echo $this->Form->input('Client.billing_address', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.billing_address2', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.billing_city', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.billing_state', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.billing_zip', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('Client.billing_country', array('class' => 'form-control', 'readonly' => true, 'type' => 'text')); ?>
            <?php echo $this->Form->input('sameaddress', array('type' => 'checkbox', 'label' => 'Copiar endereço de cobrança para envio')); ?>

        </div>
        <div class="col-xs-12 col-md-4">
            <?php echo $this->Form->input('shipping_address', array('class' => 'form-control')); ?>
            <?php echo $this->Form->input('shipping_address2', array('class' => 'form-control')); ?>
            <?php echo $this->Form->input('shipping_city', array('class' => 'form-control')); ?>
            <?php echo $this->Form->input('shipping_state', array('class' => 'form-control')); ?>
            <?php echo $this->Form->input('shipping_zip', array('class' => 'form-control')); ?>
            <?php echo $this->Form->input('shipping_country', array('class' => 'form-control')); ?>
        </div>
    </div>

    <br />

    <?php echo $this->Form->button('Continue', array('class' => 'btn btn-default btn-primary')); ?>
    <?php echo $this->Form->end(); ?>
</div>
